package jp.tuyano.sample.client.form;

import java.util.Date;

import com.google.gwt.user.client.rpc.IsSerializable;

public class EmployeeForm implements IsSerializable {

    /** 従業員ID */
    private String id;
    /** 氏 */
    private String lastName;
    /** 名 */
    private String firstName;
    /** 性別 */
    private String sex;
    /** 入社日 */
    private Date enterDate;

    public EmployeeForm() {}
    
    public EmployeeForm(String id, String lastName, String firstName, 
            String sex, Date enterDate) {
        this.id = id;
        this.lastName = lastName;
        this.firstName = firstName;
        this.sex = sex;
        this.enterDate = enterDate;
    }
    
    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getLastName() {
        return lastName;
    }

    public void setLastName(String lastName) {
        this.lastName = lastName;
    }

    public String getFirstName() {
        return firstName;
    }

    public void setFirstName(String firstName) {
        this.firstName = firstName;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public Date getEnterDate() {
        return enterDate;
    }

    public void setEnterDate(Date enterDate) {
        this.enterDate = enterDate;
    }
}
